const forest = {
    location: 'sweden',
    animals: 3,
    animalsTypes: ['Lions', 'Tigers', 'Bears']
};
// es6 解构
const { location: lo, animals, animalsTypes, Nickname = '未命名' } = forest;
console.log(lo, animals, animalsTypes, Nickname);

const [a, b, c] = animalsTypes;
console.log(a, b, c);